package com.sumainfor.zuul.controller;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.zuul.service.impl.WaterSerive;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 功能描述:
 * 水户号公司
 * @Auther: zhlu
 * @Date: 2018/12/15 13:01
 * @Description:
 */
@RestController
@RequestMapping("/water")
public class WaterController {

    @Autowired
    WaterSerive waterSerive;

    @GetMapping("/getSelectWaterList")
    public JsonResult getSelectWaterList(){
        JsonResult result=new JsonResult();
        return result.put(waterSerive.getSelectWaterList());
    }
}
